package com.liuqi.openai.core.chat;

import java.util.List;
import java.util.Map;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

/**
 * tools.function.parameters 的入参描述
 *
 * @author liuqi
 * @date 2025/7/18
 **/
@Getter
@Setter
@ToString
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Parameters {

    /**
     * 一般是: object
     */
    private String type;

    /**
     * 工具调用入参描述
     */
    private Map<String, Map<String, Object>> properties;

    /**
     * 必要参数
     */
    private List<String> required;

}
